{% extends "layout.html" %}

{% block title %}
    Bought
{% endblock %}

{% block main %}
    <div class="alert alert-success" role="alert">
      <h4 class="alert-heading">Success</h4>
      <p>You have bought {{ shares }} shares of {{ symbol }} stock.</p>
      <p>Total: {{total}}</p>
      <hr>
      <p class="mb-0"><a href="/buy" class="btn btn-light">Buy</a> more stocks or return to the <a href="/home" class="btn btn-light">Home</a> page</p>
    </div>
{% endblock %}